using System.Collections.Generic;
namespace MyApi.Entity
{
    public class UserRoles:BaseEntity
    {
        public int UserId { get; set; }
        public int RoleId { get; set; }

        //建立主外键关系
        public virtual IEnumerable<Users> Users{get;set;}
        public virtual IEnumerable<Roles> Roles{ get; set; }
    }
}